import React from 'react';

export default function Login(props:any) {
  return (
    <div>
      login
      <button onClick={() => {
        localStorage.setItem('token', '123')
        props.history.push('/center')
      }}>登录</button>
    </div>
  )
}
